//
//  IWMenuView.m
//
//
//  Created by apple on .
//  Copyright (c) 2014年 itcast. All rights reserved.
//

#import "TTMenuView.h"

@implementation TTMenuView

- (id)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        self.backgroundColor = [UIColor clearColor];
    }
    return self;
}


- (void)drawRect:(CGRect)rect
{
   // 将图片绘制到uiview上
    UIImage *image = [UIImage resizableImageWithName:@"popover_background"];
    
    [image drawInRect:rect];
}


@end
